/* 全局样式设置 */
:root {
    --primary-color: #1e88e5;
    --secondary-color: #0d47a1;
    --accent-color: #29b6f6;
    --text-color: #333;
    --light-color: #f8f9fa;
    --dark-color: #333;
    --border-color: #dee2e6;
    --shadow: 0 4px 6px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

ul {
    list-style: none;
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
}

.btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

img {
    max-width: 100%;
    height: auto;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    color: var(--dark-color);
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

/* 导航栏样式 */
header {
    background-color: white;
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin: 0;
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    color: var(--dark-color);
    font-weight: 500;
    padding: 5px 0;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* 英雄区域样式 */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 180px 0 100px;
    text-align: center;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* 服务样式 */
.services {
    padding: 80px 0;
    background-color: var(--light-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: white;
    padding: 30px;
    border-radius: 5px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
}

/* 关于我们预览样式 */
.about-preview {
    padding: 80px 0;
}

.about-preview .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-content {
    text-align: left;
}

.about-content .section-title {
    text-align: left;
}

.about-content .section-title::after {
    left: 0;
    transform: none;
}

.about-content p {
    margin-bottom: 25px;
}

.about-image img {
    border-radius: 5px;
    box-shadow: var(--shadow);
}

/* 客户案例样式 */
.case-studies {
    padding: 80px 0;
    background-color: var(--light-color);
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.case-card {
    background-color: white;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.case-card:hover {
    transform: translateY(-5px);
}

.case-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.case-card h3, .case-card p {
    padding: 15px 20px;
}

.case-card h3 {
    padding-bottom: 0;
}

/* 联系我们预览样式 */
.contact-preview {
    padding: 80px 0;
    text-align: center;
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('../images/contact-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
}

.contact-preview .section-title {
    color: white;
}

.contact-preview p {
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* 页脚样式 */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-about p {
    margin: 15px 0;
}

.social-links a {
    display: inline-block;
    margin-right: 15px;
    color: white;
    font-size: 1.5rem;
}

.social-links a:hover {
    color: var(--accent-color);
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #ddd;
}

.footer-links ul li a:hover {
    color: white;
}

.footer-contact ul li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.footer-contact ul li i {
    margin-right: 10px;
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* 响应式设计 */
@media (max-width: 992px) {
    .about-preview .container {
        grid-template-columns: 1fr;
    }
    
    .about-content {
        order: 2;
    }
    
    .about-image {
        order: 1;
    }
    
    .about-content .section-title,
    .about-content {
        text-align: center;
    }
    
    .about-content .section-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    nav {
        position: fixed;
        top: 70px;
        left: -100%;
        background-color: white;
        width: 100%;
        height: calc(100vh - 70px);
        transition: var(--transition);
        box-shadow: var(--shadow);
    }
    
    nav.active {
        left: 0;
    }
    
    nav ul {
        flex-direction: column;
        align-items: center;
        padding: 30px 0;
    }
    
    nav ul li {
        margin: 15px 0;
    }
    
    .hero {
        padding: 150px 0 80px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
}

/* 页面标题样式 */
.page-header {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/page-header-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 120px 0 60px;
    text-align: center;
    margin-bottom: 60px;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

/* 联系页面样式 */
.contact-section .container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
}

.contact-info {
    background-color: white;
    padding: 30px;
    border-radius: 5px;
    box-shadow: var(--shadow);
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 15px;
    margin-top: 5px;
}

.info-item h3 {
    margin-bottom: 5px;
}

.social-icons h3 {
    margin-bottom: 15px;
}

.contact-form {
    background-color: white;
    padding: 30px;
    border-radius: 5px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: var(--dark-color);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(30, 136, 229, 0.2);
}

.map-section {
    padding: 60px 0;
}

.map-container {
    height: 400px;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.map-placeholder {
    width: 100%;
    height: 100%;
    background-color: #eee;
    display: flex;
    justify-content: center;
    align-items: center;
}

.map-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* FAQ样式 */
.faq-section {
    padding: 60px 0;
    background-color: var(--light-color);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: white;
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.faq-question {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
}

.faq-question i {
    transition: var(--transition);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 0 20px 20px;
}

.faq-item.active .faq-question i {
    transform: rotate(-180deg);
}

/* 关于页面样式 */
.about-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.mission-vision {
    padding: 80px 0;
    background-color: var(--light-color);
}

.mission-vision .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.values {
    padding: 80px 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.value-card {
    background-color: white;
    padding: 30px;
    border-radius: 5px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-5px);
}

.value-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.team {
    padding: 80px 0;
    background-color: var(--light-color);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.team-member {
    background-color: white;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-5px);
}

.team-member img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.team-member h3 {
    margin-top: 20px;
    margin-bottom: 5px;
}

.team-member .position {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 10px;
}

.team-member p:not(.position) {
    padding: 0 20px 20px;
}

.history {
    padding: 80px 0;
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20px;
    height: 100%;
    width: 2px;
    background-color: var(--primary-color);
}

.timeline-item {
    padding-left: 50px;
    position: relative;
    margin-bottom: 40px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 12px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: var(--primary-color);
}

.timeline-date h3 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

.partners {
    padding: 80px 0;
    background-color: var(--light-color);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    align-items: center;
}

.partner {
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.partner:hover {
    transform: scale(1.05);
}

.partner img {
    max-width: 100%;
    height: auto;
    filter: grayscale(100%);
    transition: var(--transition);
}

.partner:hover img {
    filter: grayscale(0);
}

/* 响应式设计 */
@media (max-width: 992px) {
    .about-preview .container,
    .about-section .container,
    .mission-vision .container,
    .contact-section .container {
        grid-template-columns: 1fr;
    }
    
    .about-content,
    .contact-info {
        order: 2;
    }
    
    .about-image,
    .contact-form {
        order: 1;
    }
    
    .about-content .section-title,
    .about-content {
        text-align: center;
    }
    
    .about-content .section-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

/* 服务页面样式 */
.services-section {
    padding: 60px 0;
}

.service-item {
    display: flex;
    margin-bottom: 80px;
    align-items: center;
}

.service-item:last-child {
    margin-bottom: 0;
}

.service-image,
.service-content {
    flex: 1;
}

.service-image img {
    width: 100%;
    border-radius: 5px;
    box-shadow: var(--shadow);
}

.service-content {
    padding: 0 30px;
}

.service-content h2 {
    margin-bottom: 20px;
    color: var(--dark-color);
}

.service-content p {
    margin-bottom: 20px;
}

.service-features {
    margin-bottom: 25px;
}

.service-features li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.service-features li i {
    color: var(--primary-color);
    margin-right: 10px;
}

/* 流程部分样式 */
.process-section {
    padding: 80px 0;
    background-color: var(--light-color);
}

.process-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-top: 30px;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
    z-index: 1;
}

.process-step {
    text-align: center;
    position: relative;
    z-index: 2;
    width: 18%;
}

.step-number {
    width: 80px;
    height: 80px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 20px;
}

.step-content h3 {
    margin-bottom: 10px;
}

/* 优势部分样式 */
.advantages-section {
    padding: 80px 0;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.advantage-card {
    background-color: white;
    padding: 30px;
    border-radius: 5px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.advantage-card:hover {
    transform: translateY(-5px);
}

.advantage-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.advantage-card h3 {
    margin-bottom: 15px;
}

/* 客户评价样式 */
.testimonials-section {
    padding: 80px 0;
    background-color: var(--light-color);
}

.testimonials-slider {
    max-width: 800px;
    margin: 0 auto;
}

.testimonial {
    background-color: white;
    padding: 30px;
    border-radius: 5px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

.testimonial:last-child {
    margin-bottom: 0;
}

.testimonial-content {
    margin-bottom: 20px;
}

.testimonial-content p {
    font-style: italic;
    line-height: 1.7;
    position: relative;
    padding: 0 20px;
}

.testimonial-content p::before,
.testimonial-content p::after {
    content: '"';
    font-size: 3rem;
    color: var(--primary-color);
    opacity: 0.3;
    position: absolute;
}

.testimonial-content p::before {
    left: 0;
    top: -20px;
}

.testimonial-content p::after {
    right: 0;
    bottom: -40px;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
}

.testimonial-author h3 {
    margin-bottom: 5px;
}

.testimonial-author p {
    color: #777;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .service-item {
        flex-direction: column;
    }
    
    .service-item:nth-child(even) .service-image {
        order: 1;
    }
    
    .service-item:nth-child(even) .service-content {
        order: 2;
    }
    
    .service-content {
        padding: 30px 0 0;
    }
    
    .process-steps {
        flex-direction: column;
    }
    
    .process-steps::before {
        display: none;
    }
    
    .process-step {
        width: 100%;
        margin-bottom: 30px;
        display: flex;
        align-items: center;
        text-align: left;
    }
    
    .step-number {
        margin: 0 20px 0 0;
    }
}

/* 产品页面样式 */
.products-filter {
    padding: 30px 0;
    text-align: center;
}

.filter-categories {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.filter-categories li {
    margin: 0 15px 10px;
    padding: 8px 15px;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
    background-color: white;
    box-shadow: var(--shadow);
}

.filter-categories li.active,
.filter-categories li:hover {
    background-color: var(--primary-color);
    color: white;
}

.products-showcase {
    padding: 30px 0 80px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.product-card {
    background-color: white;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-10px);
}

.product-image {
    position: relative;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition);
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.btn-view {
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 30px;
    text-transform: uppercase;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    transition: var(--transition);
}

.btn-view:hover {
    background-color: white;
    color: var(--primary-color);
}

.product-info {
    padding: 20px;
}

.product-info h3 {
    margin-bottom: 10px;
}

.product-info p {
    margin-bottom: 15px;
    color: #666;
}

.product-features {
    display: flex;
    flex-wrap: wrap;
}

.product-features span {
    display: inline-block;
    padding: 5px 10px;
    background-color: #f0f4f8;
    color: var(--primary-color);
    border-radius: 3px;
    font-size: 0.8rem;
    margin-right: 10px;
    margin-bottom: 10px;
}

.product-features-section {
    padding: 80px 0;
    background-color: var(--light-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: white;
    padding: 30px;
    border-radius: 5px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 15px;
}

/* 产品页面响应式设计 */
@media (max-width: 768px) {
    .filter-categories li {
        margin: 0 10px 10px;
        padding: 6px 12px;
        font-size: 0.9rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
} 